//通过数组获取className字符串
export function getClassNameByArray(array: string[]) {
  return array.join(' ');
}

export function isNull(obj: null | undefined | object | React.ReactNode) {
  return obj === null || obj === void 0;
}

export function isEmptyStr(str: null | undefined | string) {
  return !isNull(str) && str.trim() !== '';
}
